<script type="text/javascript">
function jiajian(obj,id){
	var shtml = $(obj).html();if(shtml=='+'){$(obj).html('-');$('#children_'+id).show();}else{$(obj).html('+');$('#children_'+id).hide();}
	}
</script>
<div class="setframeNav">
  <div class="left_nav mypindao">
    <h4>我的频道</h4>
	<ul class="topic_New" id="my_channels">
	<!--{if $my_channels}-->
	<!--{loop $my_channels $val}-->
	<li class="mychannel" id="ch_{$val['ch_id']}"><a href="index.php?mod=channel&id={$val['ch_id']}">{$val['ch_name']}</a></li>
	<!--{/loop}-->
	 <!--{/if}-->
	</ul>
  </div> 
  <div class="left_nav">
    <h4>全部频道</h4>
	<!--{if $channel_list}-->
	<ul class="topic_New">
	<!--{loop $channel_list $val}-->
	<li class="channel {$val['css']}"><em onclick="jiajian(this,'{$val['ch_id']}');">{$val['str']}</em><a href="index.php?mod=channel&id={$val['ch_id']}{$filter_url}">{$val['ch_name']}</a></li>
	<!--{if $val['child_num']}-->
	<ul style="display:{$val['display']}" id="children_{$val['ch_id']}">
	<!--{loop $val['child'] $v}-->
	<li class="channel_child {$v['css']}"><a href="index.php?mod=channel&id={$v['ch_id']}{$filter_url}">{$v['ch_name']}</a></li>
	<!--{/loop}-->
	</ul>
	<!--{/if}-->
	<!--{/loop}-->
  </ul>
  <!--{/if}-->
  </div>
</div>